<div class="body">
  <p>
    Comment was marked as spam by <a href='https://<%= ActionMailer::Base.default_url_options[:host] %>/profile/<%= @moderator.username %>'><%= @moderator.username %></a> after entering moderation queue <%= time_ago_in_words(@comment.created_at) %> ago. The user was also banned from the site.

    If you feel this was an error, you can republish this comment at <a href='https://<%= ActionMailer::Base.default_url_options[:host] %>/spam'>Public Lab research feed</a>.
    To discuss spam/abuse with other moderators, forward this to <a href="mailto:moderators@<%= ActionMailer::Base.default_url_options[:host] %>">moderators@<%= ActionMailer::Base.default_url_options[:host] %></a>
  </p>
  <p>
    If this moderation was due to failure to follow <a href="https://<%= ActionMailer::Base.default_url_options[:host] %>/wiki/moderation">community content guidelines</a>,
    and not advertising spam, consider reaching out to the commenter to explain why you decided to moderate their content. Their email address is: <%= @comment.author.email %>

    Thanks for helping to keep Public Lab a welcoming and spam-free space!

    View <a href="https://<%= ActionMailer::Base.default_url_options[:host] %>/profile/<%= @comment.author.name %>"><%= @comment.author.name %>'s profile</a>
  </p>
</div>
<hr>
<div class="footer">

  <p>Visit the spam page here: <a href="https://<%= ActionMailer::Base.default_url_options[:host] %>/spam">https://<%= ActionMailer::Base.default_url_options[:host] %>/spam</a></p>

  <p>You received this email because you are <a href="https://<%= ActionMailer::Base.default_url_options[:host] %>/wiki/moderation">a Public Lab community moderator</a></p>

  <p>To discuss spam/abuse, forward this to <a href="mailto:moderators@<%= ActionMailer::Base.default_url_options[:host] %>">moderators@<%= ActionMailer::Base.default_url_options[:host] %></a></p>

  <%= @footer %>
</div>

<style media="screen">
  .body {
    font-family: Arial, Helvetica, sans-serif;
  }
  .footer {
    color: #aaa;
  }
</style>
